{* START TABS *}
{$srcTabbedMenu}
{* END TABS *}

<table align="center" style="width:800px;" cellpadding="4" cellspacing="8">
<tr>
    {* START LEFT COLUMN *}
    <td style="width:45%;vertical-align:top;">
        {if $aUser.headline}
            <div style="font-size: 9pt; padding-left: 8px;" id="profile_headline">
                {$aUser.headline|process_code}
            </div>
            <br />
        {/if}
        {Account::UserInfo oUser=$oUser}
         <br />
        {* START CONTACT PANEL *}
        {if !$bIsOwner}
            {Account::ContactPanel oUser=$oUser oCurrUser=$oCurrUser}
            <br />
        {/if}
        {* ENT CONTACT PANEL *}

        {Account::MyDetails oAcc=$oUser}
        <br />
        {$plugin_user_left}
        {hook name='ProfileLeft' params=$aUser}
		{Account::CustomText oUser=$oUser sType='left'}
        {if $bShowBlog}
            {Blog::MyBlogs userId=$oUser->aData.id}
        {/if}
        {Groups::MyGroupsLinks}

        {if $bShowVisitors}
			{Log::RecentVisitors sPage='public.user' sUser=$aUser.user}
        {/if}

        {* START ADS *}
        <div style="text-align:center;">{Ads::ShowAds place=3}</div>
        <br /><br/><br/>

        {if $oCurrUser->aData.user != $oUser->aData.user}
        <table style="vertical-align: bottom;">
        <tr>
            <td>
                <div style="font-size: 9pt;">
                <a class="link_action" href="{url link=public.account.report user=$oUser->aData.user}">[ {language text="report_this_user"} ]</a>
                </div>
                <br />
            </td>
        </tr>
        </table>
        {/if}
    </td>
    {* END LEFT COLUMN *}
    {* START RIGHT COLUMN *}
    <td style="width:55%;vertical-align:top;">
    	<div style="text-align:center;">
    	{if $aUser.actual_song_id}
    	{mp3player mode='' id=$aUser.actual_song_id total='1'}
    	{if $aUser.user == $oCurrUser->aData.user}
    	<div style="padding:5px;">
    		 <span style="font-size:8pt;"><a href="{url link='public.music' dsong='true' user=$aUser.user}" onclick="return sure();">{language text='Mod_Music.remove_this_song'}</a></span>
		</div>
    	{/if}
		<br />
    	<br />
    	{/if}
    	{Music::ActualProfileMusic userId=$oUser->aData.id}
    	</div>
    	{$plugin_user_right}
    	{hook name='ProfileRight' params=$aUser}
    	{Video::MyVideos userId=$oUser->aData.id sType='profile' username=$aUser.user}
    	{Account::CustomText oUser=$oUser sType='right'}
        {Gallery::MyGallery userId=$oUser->aData.id}
		{Account::Friends oUser=$oUser bIsTop=true iRowSize=3}
        {* COMMENTS *}
        {if $bShowComment}
            {Comments::AddForm type='account' id=$aUser.id isuser=$aUser.user alert_id=$aUser.id}
             <br />
             <a name="comment"></a>
             <div id="new_comment" style="display:none;"></div>
            {Comments::List type='account' gbHtml=$aUser.setting_gb_html id=$aUser.id totalCount=$aUser.c_comments doLimit=$iTotalComments}
        {/if}
        {* END COMMENTS *}
     </td>
</tr>
</table>